package org.example.caiwumanage.mapper;


import org.apache.ibatis.annotations.Mapper;
import org.example.caiwumanage.entity.Budgetrecords;
import org.example.caiwumanage.entity.Query;

import java.util.List;

@Mapper
public interface TransactionMapper {

    int create(Budgetrecords budgetrecords);

    int delete(Integer budgetId,long id);

    void update(Budgetrecords budgetrecords);

    List<Budgetrecords> select(Long id);

    List<Budgetrecords> query(Query query);
}
